package com.ourteam.product.ui.dao;

import net.dao.IDataAccessInterface;

/**
 * Template Name : DAO接口模板 Template Version : 1 Template Last Modfiy Date : Thu Sep 21 11:14:14 CST
 * 2017 Auto Generate Date : 2018-12-14 15:15:04 Warning ! This file will be overwrite when
 * regenerate !
 */
public interface IBaseProductUIListDAO
    extends IDataAccessInterface<ProductUIList, ProductUIListDAOQueryBean> {

  /** Mapped Entity Name */
  static final String EntityName = "PRODUCT_UI_LIST";

  /** Mapped Field ID */
  static final String Id = "PRODUCT_UI_LIST.ID";

  /** Mapped Field DOMAIN_ID */
  static final String DomainId = "PRODUCT_UI_LIST.DOMAIN_ID";

  /** Mapped Field CODE */
  static final String Code = "PRODUCT_UI_LIST.CODE";

  /** Mapped Field NAME */
  static final String Name = "PRODUCT_UI_LIST.NAME";

  /** Mapped Field TYPE */
  static final String Type = "PRODUCT_UI_LIST.TYPE";

  /** Mapped Field DATA_PROPERTY */
  static final String ValueProperty = "PRODUCT_UI_LIST.DATA_PROPERTY";

  /** Mapped Field LABEL_PROPERTY */
  static final String LabelProperty = "PRODUCT_UI_LIST.LABEL_PROPERTY";

  /** Mapped Field LAST_MODIFY_USER */
  static final String LastModifyUser = "PRODUCT_UI_LIST.LAST_MODIFY_USER";

  /** Mapped Field LAST_MODIFY_TIME */
  static final String LastModifyTime = "PRODUCT_UI_LIST.LAST_MODIFY_TIME";

  /** Mapped Field STATUS */
  static final String Status = "PRODUCT_UI_LIST.STATUS";

  /** Mapped Field REMARKS */
  static final String Remarks = "PRODUCT_UI_LIST.REMARKS";

  /** Mapped Field ICON_PROPERTY */
  static final String IconProperty = "PRODUCT_UI_LIST.ICON_PROPERTY";

  /** Mapped Field SCRIPT */
  static final String Script = "PRODUCT_UI_LIST.SCRIPT";

  /** Mapped Field SEARCH_PROPERTY */
  static final String SearchProperty = "PRODUCT_UI_LIST.SEARCH_PROPERTY";

  /** Mapped Attribute domainCode */
  static final String DomainCode =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIDomainDAO.DomainCode,
          com.ourteam.product.ui.dao.IProductUIDomainDAO.EntityName + ".",
          "PRODUCT_UI_DOMAIN.");

  /** Mapped Attribute domainName */
  static final String DomainName =
      org.apache.commons.lang.StringUtils.replace(
          com.ourteam.product.ui.dao.IProductUIDomainDAO.DomainName,
          com.ourteam.product.ui.dao.IProductUIDomainDAO.EntityName + ".",
          "PRODUCT_UI_DOMAIN.");

  public static interface DataProperty {

    /** Attribute id */
    static final String Id = "id";

    /** Attribute domainId */
    static final String DomainId = "domainId";

    /** Attribute code */
    static final String Code = "code";

    /** Attribute name */
    static final String Name = "name";

    /** Attribute type */
    static final String Type = "type";

    /** Attribute valueProperty */
    static final String ValueProperty = "valueProperty";

    /** Attribute labelProperty */
    static final String LabelProperty = "labelProperty";

    /** Attribute lastModifyUser */
    static final String LastModifyUser = "lastModifyUser";

    /** Attribute lastModifyTime */
    static final String LastModifyTime = "lastModifyTime";

    /** Attribute status */
    static final String Status = "status";

    /** Attribute remarks */
    static final String Remarks = "remarks";

    /** Attribute domainCode */
    static final String DomainCode = "domainCode";

    /** Attribute domainName */
    static final String DomainName = "domainName";

    /** Attribute searchProperty */
    static final String SearchProperty = "searchProperty";

    /** Attribute iconProperty */
    static final String IconProperty = "iconProperty";

    /** Attribute script */
    static final String Script = "script";
  }

  public static interface _DataObjectProperty extends DataProperty {}

  /**
   * Delete Data
   *
   * @param final long id
   * @throws Exception
   */
  void delete(final long id) throws Exception;
  /**
   * Find Data By Primary Key
   *
   * @param final long id
   * @throws Exception
   */
  ProductUIList findById(final long id) throws Exception;
}
